package com.ruoyi.project.chargesystem.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

//退费表(支付系统)
public class CharReturnMoney extends BaseEntity {
    //id
    private String id;
    //'订单号'
    private String orderID;
    //'挂号单号'
    private String registrationId;
    //'收费单号'
    private String chargeId;
    //'患者姓名'
    private String patientName;
    //'退费总金额'
    private String refundAmount;
    //'退费方式'
    private String refundMethod;
    //'订单状态'
    private String orderStatus;
    //'创建时间'
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date supBuildTime;


    @Override
    public String toString() {
        return "CharReturnMoney{" +
                "id='" + id + '\'' +
                ", orderID='" + orderID + '\'' +
                ", registrationId='" + registrationId + '\'' +
                ", chargeId='" + chargeId + '\'' +
                ", patientName='" + patientName + '\'' +
                ", refundAmount='" + refundAmount + '\'' +
                ", refundMethod='" + refundMethod + '\'' +
                ", orderStatus='" + orderStatus + '\'' +
                ", supBuildTime=" + supBuildTime +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderID() {
        return orderID;
    }

    public void setOrderID(String orderID) {
        this.orderID = orderID;
    }

    public String getRegistrationId() {
        return registrationId;
    }

    public void setRegistrationId(String registrationId) {
        this.registrationId = registrationId;
    }

    public String getChargeId() {
        return chargeId;
    }

    public void setChargeId(String chargeId) {
        this.chargeId = chargeId;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(String refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getRefundMethod() {
        return refundMethod;
    }

    public void setRefundMethod(String refundMethod) {
        this.refundMethod = refundMethod;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Date getSupBuildTime() {
        return supBuildTime;
    }

    public void setSupBuildTime(Date supBuildTime) {
        this.supBuildTime = supBuildTime;
    }

    public CharReturnMoney(String id, String orderID, String registrationId, String chargeId, String patientName, String refundAmount, String refundMethod, String orderStatus, Date supBuildTime) {
        this.id = id;
        this.orderID = orderID;
        this.registrationId = registrationId;
        this.chargeId = chargeId;
        this.patientName = patientName;
        this.refundAmount = refundAmount;
        this.refundMethod = refundMethod;
        this.orderStatus = orderStatus;
        this.supBuildTime = supBuildTime;
    }

    public CharReturnMoney() {
    }
}
